3.2.21 \(\int \frac {A+B x^2}{(a+b x^2+c x^4)^2} \, dx\) [121]
Optimal. Leaf size=293 \[ \frac {x \left (A b^2-a b B-2 a A c+(A b-2 a B) c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\sqrt {c} \left (A b-2 a B+\frac {4 a b B+A \left (b^2-12 a c\right )}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {c} \left (A b-2 a B-\frac {A b^2+4 a b B-12 a A c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right ) \sqrt {b+\sqrt {b^2-4 a c}}} \]
[Out]
1/2*x*(A*b^2-a*b*B-2*a*A*c+(A*b-2*B*a)*c*x^2)/a/(-4*a*c+b^2)/(c*x^4+b*x^2+a)+1/4*arctan(x*2^(1/2)*c^(1/2)/(b-(
-4*a*c+b^2)^(1/2))^(1/2))*c^(1/2)*(A*b-2*a*B+(4*a*b*B+A*(-12*a*c+b^2))/(-4*a*c+b^2)^(1/2))/a/(-4*a*c+b^2)*2^(1
/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2)+1/4*arctan(x*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2))*c^(1/2)*(A*b-2*a*B
+(12*A*a*c-A*b^2-4*B*a*b)/(-4*a*c+b^2)^(1/2))/a/(-4*a*c+b^2)*2^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2)
________________________________________________________________________________________
Rubi [A]
time = 0.57, antiderivative size = 293, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {1192, 1180,
211} \begin {gather*} \frac {\sqrt {c} \left (\frac {A \left (b^2-12 a c\right )+4 a b B}{\sqrt {b^2-4 a c}}-2 a B+A b\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {c} \left (-\frac {-12 a A c+4 a b B+A b^2}{\sqrt {b^2-4 a c}}-2 a B+A b\right ) \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right ) \sqrt {\sqrt {b^2-4 a c}+b}}+\frac {x \left (c x^2 (A b-2 a B)-2 a A c-a b B+A b^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
Int[(A + B*x^2)/(a + b*x^2 + c*x^4)^2,x]
[Out]
(x*(A*b^2 - a*b*B - 2*a*A*c + (A*b - 2*a*B)*c*x^2))/(2*a*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (Sqrt[c]*(A*b -
2*a*B + (4*a*b*B + A*(b^2 - 12*a*c))/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]
])/(2*Sqrt[2]*a*(b^2 - 4*a*c)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + (Sqrt[c]*(A*b - 2*a*B - (A*b^2 + 4*a*b*B - 12*a*A
*c)/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*a*(b^2 - 4*a*c)*Sqr
t[b + Sqrt[b^2 - 4*a*c]])
Rule 211
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]
Rule 1180
Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]
Rule 1192
Int[((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> Simp[x*(a*b*e - d*(b^2 - 2*a
*c) - c*(b*d - 2*a*e)*x^2)*((a + b*x^2 + c*x^4)^(p + 1)/(2*a*(p + 1)*(b^2 - 4*a*c))), x] + Dist[1/(2*a*(p + 1)
*(b^2 - 4*a*c)), Int[Simp[(2*p + 3)*d*b^2 - a*b*e - 2*a*c*d*(4*p + 5) + (4*p + 7)*(d*b - 2*a*e)*c*x^2, x]*(a +
b*x^2 + c*x^4)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e
^2, 0] && LtQ[p, -1] && IntegerQ[2*p]
Rubi steps
\begin {align*} \int \frac {A+B x^2}{\left (a+b x^2+c x^4\right )^2} \, dx &=\frac {x \left (A b^2-a b B-2 a A c+(A b-2 a B) c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac {\int \frac {-A b^2-a b B+6 a A c-(A b-2 a B) c x^2}{a+b x^2+c x^4} \, dx}{2 a \left (b^2-4 a c\right )}\\ &=\frac {x \left (A b^2-a b B-2 a A c+(A b-2 a B) c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\left (c \left (A b-2 a B-\frac {A b^2+4 a b B-12 a A c}{\sqrt {b^2-4 a c}}\right )\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{4 a \left (b^2-4 a c\right )}+\frac {\left (c \left (2 a B \left (2 b-\sqrt {b^2-4 a c}\right )+A \left (b^2-12 a c+b \sqrt {b^2-4 a c}\right )\right )\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{4 a \left (b^2-4 a c\right )^{3/2}}\\ &=\frac {x \left (A b^2-a b B-2 a A c+(A b-2 a B) c x^2\right )}{2 a \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\sqrt {c} \left (2 a B \left (2 b-\sqrt {b^2-4 a c}\right )+A \left (b^2-12 a c+b \sqrt {b^2-4 a c}\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {c} \left (A b-2 a B-\frac {A b^2+4 a b B-12 a A c}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} a \left (b^2-4 a c\right ) \sqrt {b+\sqrt {b^2-4 a c}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.50, size = 304, normalized size = 1.04 \begin {gather*} \frac {\frac {2 x \left (-a B \left (b+2 c x^2\right )+A \left (b^2-2 a c+b c x^2\right )\right )}{\left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\sqrt {2} \sqrt {c} \left (-2 a B \left (-2 b+\sqrt {b^2-4 a c}\right )+A \left (b^2-12 a c+b \sqrt {b^2-4 a c}\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {2} \sqrt {c} \left (-2 a B \left (2 b+\sqrt {b^2-4 a c}\right )+A \left (-b^2+12 a c+b \sqrt {b^2-4 a c}\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}}}}{4 a} \end {gather*}
Antiderivative was successfully verified.
[In]
Integrate[(A + B*x^2)/(a + b*x^2 + c*x^4)^2,x]
[Out]
((2*x*(-(a*B*(b + 2*c*x^2)) + A*(b^2 - 2*a*c + b*c*x^2)))/((b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + (Sqrt[2]*Sqrt[
c]*(-2*a*B*(-2*b + Sqrt[b^2 - 4*a*c]) + A*(b^2 - 12*a*c + b*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqr
t[b - Sqrt[b^2 - 4*a*c]]])/((b^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + (Sqrt[2]*Sqrt[c]*(-2*a*B*(2*b +
Sqrt[b^2 - 4*a*c]) + A*(-b^2 + 12*a*c + b*Sqrt[b^2 - 4*a*c]))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 -
4*a*c]]])/((b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]]))/(4*a)
________________________________________________________________________________________
Maple [A]
time = 0.09, size = 464, normalized size = 1.58
| | |
method |
result |
size |
| | |
risch |
\(\frac {-\frac {c \left (A b -2 a B \right ) x^{3}}{2 a \left (4 a c -b^{2}\right )}+\frac {\left (2 a c A -A \,b^{2}+a b B \right ) x}{2 \left (4 a c -b^{2}\right ) a}}{c \,x^{4}+b \,x^{2}+a}+\frac {\munderset {\textit {\_R} =\RootOf \left (c \,\textit {\_Z}^{4}+\textit {\_Z}^{2} b +a \right )}{\sum }\frac {\left (-\frac {c \left (A b -2 a B \right ) \textit {\_R}^{2}}{4 a c -b^{2}}+\frac {6 a c A -A \,b^{2}-a b B}{4 a c -b^{2}}\right ) \ln \left (x -\textit {\_R} \right )}{2 c \,\textit {\_R}^{3}+\textit {\_R} b}}{4 a}\) |
\(178\) |
default |
\(16 c^{2} \left (-\frac {-\frac {\left (A \sqrt {-4 a c +b^{2}}-A b +2 a B \right ) \sqrt {-4 a c +b^{2}}\, x}{16 a c \left (x^{2}+\frac {\sqrt {-4 a c +b^{2}}}{2 c}+\frac {b}{2 c}\right )}-\frac {\left (-28 A a b c +3 A \,b^{3}+12 A \sqrt {-4 a c +b^{2}}\, a c -3 A \sqrt {-4 a c +b^{2}}\, b^{2}+8 a^{2} c B +6 B a \,b^{2}\right ) \left (2 b +\sqrt {-4 a c +b^{2}}\right ) \sqrt {2}\, \arctan \left (\frac {c x \sqrt {2}}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{16 a \left (4 a c +3 b^{2}\right ) \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}}{4 c \left (4 a c -b^{2}\right ) \sqrt {-4 a c +b^{2}}}-\frac {-\frac {\left (-A \sqrt {-4 a c +b^{2}}-A b +2 a B \right ) \sqrt {-4 a c +b^{2}}\, x}{16 a c \left (x^{2}+\frac {b}{2 c}-\frac {\sqrt {-4 a c +b^{2}}}{2 c}\right )}-\frac {\left (12 A \sqrt {-4 a c +b^{2}}\, a c -3 A \sqrt {-4 a c +b^{2}}\, b^{2}+28 A a b c -3 A \,b^{3}-8 a^{2} c B -6 B a \,b^{2}\right ) \left (-2 b +\sqrt {-4 a c +b^{2}}\right ) \sqrt {2}\, \arctanh \left (\frac {c x \sqrt {2}}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{16 a \left (4 a c +3 b^{2}\right ) \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}}{4 c \left (4 a c -b^{2}\right ) \sqrt {-4 a c +b^{2}}}\right )\) |
\(464\) |
| | |
|
|
|
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((B*x^2+A)/(c*x^4+b*x^2+a)^2,x,method=_RETURNVERBOSE)
[Out]
16*c^2*(-1/4/c/(4*a*c-b^2)/(-4*a*c+b^2)^(1/2)*(-1/16*(A*(-4*a*c+b^2)^(1/2)-A*b+2*a*B)*(-4*a*c+b^2)^(1/2)/a/c*x
/(x^2+1/2/c*(-4*a*c+b^2)^(1/2)+1/2*b/c)-1/16*(-28*A*a*b*c+3*A*b^3+12*A*(-4*a*c+b^2)^(1/2)*a*c-3*A*(-4*a*c+b^2)
^(1/2)*b^2+8*a^2*c*B+6*B*a*b^2)*(2*b+(-4*a*c+b^2)^(1/2))/a/(4*a*c+3*b^2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1
/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)))-1/4/c/(4*a*c-b^2)/(-4*a*c+b^2)^(1/2)*(-1/16*(-A*(-4*
a*c+b^2)^(1/2)-A*b+2*a*B)*(-4*a*c+b^2)^(1/2)/a/c*x/(x^2+1/2*b/c-1/2/c*(-4*a*c+b^2)^(1/2))-1/16*(12*A*(-4*a*c+b
^2)^(1/2)*a*c-3*A*(-4*a*c+b^2)^(1/2)*b^2+28*A*a*b*c-3*A*b^3-8*a^2*c*B-6*B*a*b^2)*(-2*b+(-4*a*c+b^2)^(1/2))/a/(
4*a*c+3*b^2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)))
)
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((B*x^2+A)/(c*x^4+b*x^2+a)^2,x, algorithm="maxima")
[Out]
-1/2*((2*B*a - A*b)*c*x^3 + (B*a*b - A*b^2 + 2*A*a*c)*x)/((a*b^2*c - 4*a^2*c^2)*x^4 + a^2*b^2 - 4*a^3*c + (a*b
^3 - 4*a^2*b*c)*x^2) + 1/2*integrate(-((2*B*a - A*b)*c*x^2 - B*a*b - A*b^2 + 6*A*a*c)/(c*x^4 + b*x^2 + a), x)/
(a*b^2 - 4*a^2*c)
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 4885 vs.
\(2 (254) = 508\).
time = 3.26, size = 4885, normalized size = 16.67 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((B*x^2+A)/(c*x^4+b*x^2+a)^2,x, algorithm="fricas")
[Out]
-1/4*(2*(2*B*a - A*b)*c*x^3 - sqrt(1/2)*((a*b^2*c - 4*a^2*c^2)*x^4 + a^2*b^2 - 4*a^3*c + (a*b^3 - 4*a^2*b*c)*x
^2)*sqrt(-(B^2*a^2*b^3 + 2*A*B*a*b^4 + A^2*b^5 - 12*(4*A*B*a^3 - 5*A^2*a^2*b)*c^2 + 3*(4*B^2*a^3*b - 4*A*B*a^2
*b^2 - 5*A^2*a*b^3)*c + (a^3*b^6 - 12*a^4*b^4*c + 48*a^5*b^2*c^2 - 64*a^6*c^3)*sqrt((B^4*a^4 + 4*A*B^3*a^3*b +
6*A^2*B^2*a^2*b^2 + 4*A^3*B*a*b^3 + A^4*b^4 + 81*A^4*a^2*c^2 - 18*(A^2*B^2*a^3 + 2*A^3*B*a^2*b + A^4*a*b^2)*c
)/(a^6*b^6 - 12*a^7*b^4*c + 48*a^8*b^2*c^2 - 64*a^9*c^3)))/(a^3*b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c^3 - 4*(
2*B*a^5*b^6 + 5*A*a^4*b^7)*c)*sqrt((B^4*a^4 + 4*A*B^3*a^3*b + 6*A^2*B^2*a^2*b^2 + 4*A^3*B*a*b^3 + A^4*b^4 + 81
*A^4*a^2*c^2 - 18*(A^2*B^2*a^3 + 2*A^3*B*a^2*b ...
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((B*x**2+A)/(c*x**4+b*x**2+a)**2,x)
[Out]
Timed out
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 4426 vs.
\(2 (254) = 508\).
time = 6.80, size = 4426, normalized size = 15.11 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((B*x^2+A)/(c*x^4+b*x^2+a)^2,x, algorithm="giac")
[Out]
-1/2*(2*B*a*c*x^3 - A*b*c*x^3 + B*a*b*x - A*b^2*x + 2*A*a*c*x)/((c*x^4 + b*x^2 + a)*(a*b^2 - 4*a^2*c)) + 1/16*
((2*b^3*c^2 - 8*a*b*c^3 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*b^3 + 4*sqrt(2)*sqrt(b^2 -
4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*a*b*c + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*b^
2*c - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*b*c^2 - 2*(b^2 - 4*a*c)*b*c^2)*(a*b^2 - 4*a^2*
c)^2*A - 2*(2*a*b^2*c^2 - 8*a^2*c^3 - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c + sqrt(b^2 - 4*a*c)*c)*a*b^2 + 4*sqrt
(2)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t(2)*sqrt(b*c - s
qrt(b^2 - 4*a*c)*c)*a*b^4*c^2 - 28*a^2*b^4*c^2 - 96*sqrt(2)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a^4*c^3 - 48*sqrt(
2)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a^3*b*c^3 - ...
________________________________________________________________________________________
Mupad [B]
time = 4.84, size = 2500, normalized size = 8.53 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + B*x^2)/(a + b*x^2 + c*x^4)^2,x)
[Out]
atan(((((6144*A*a^5*c^6 + 16*A*a*b^8*c^2 - 1024*B*a^5*b*c^5 - 288*A*a^2*b^6*c^3 + 1920*A*a^3*b^4*c^4 - 5632*A*
a^4*b^2*c^5 + 16*B*a^2*b^7*c^2 - 192*B*a^3*b^5*c^3 + 768*B*a^4*b^3*c^4)/(8*(a^2*b^6 - 64*a^5*c^3 - 12*a^3*b^4*
c + 48*a^4*b^2*c^2)) - (x*(-(A^2*b^11 + B^2*a^2*b^9 + A^2*b^2*(-(4*a*c - b^2)^9)^(1/2) + B^2*a^2*(-(4*a*c - b^
2)^9)^(1/2) + 2*A*B*a*b^10 + 288*A^2*a^2*b^7*c^2 - 1504*A^2*a^3*b^5*c^3 + 3840*A^2*a^4*b^3*c^4 - 96*B^2*a^4*b^
5*c^2 + 512*B^2*a^5*b^3*c^3 + 3072*A*B*a^6*c^5 - 27*A^2*a*b^9*c - 9*A^2*a*c*(-(4*a*c - b^2)^9)^(1/2) - 3840*A^
2*a^5*b*c^5 - 768*B^2*a^6*b*c^4 + 192*A*B*a^3*b^6*c^2 - 128*A*B*a^4*b^4*c^3 - 1536*A*B*a^5*b^2*c^4 + 2*A*B*a*b
*(-(4*a*c - b^2)^9)^(1/2) - 36*A*B*a^2*b^8*c)/(32*(a^3*b^12 + 4096*a^9*c^6 - 24*a^4*b^10*c + 240*a^5*b^8*c^2 -
1280*a^6*b^6*c^3 + 3840*a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 + 512*B^2*a^5*b^3*c^3 + 3072*A*B*a^6*c^5 - 27*A^2*a*b^9*c - 9*A^2*a*c*(
-(4*a*c - b^2)^9)^(1/2) - 3840*A^2*a^5*b*c^5 - 768*B^2*a^6*b*c^4 + 192*A*B*a^3*b^6*c^2 - 128*A*B*a^4*b^4*c^3 -
1536*A*B*a^5*b^2*c^4 + 2*A*B*a*b*(-(4*a*c - b^2)^9)^(1/2) - 36*A*B*a^2*b^8*c)/(32*(a^3*b^12 + 4096*a^9*c^6 -
24*a^4*b^10*c + 240*a^5*b^8*c^2 - 1280*a^6*b^6*c^3 + 3840*a^7*b^4*c^4 - 6144*a^8*b^2*c^5)))^(1/2)*1i - (((6144
*A*a^5*c^6 + 16*A*a*b^8*c^2 - 1024*B*a^5*b*c^5 - 288*A*a^2*b^6*c^3 + 1920*A*a^3*b^4*c^4 - 5632*A*a^4*b^2*c^5 +
16*B*a^2*b^7*c^2 - 192*B*a^3*b^5*c^3 + 768*B*a^4*b^3*c^4)/(8*(a^2*b^6 - 64*a^5*c^3 - 12*a^3*b^4*c + 48*a^4*b^
2*c^2)) + (x*(-(A^2*b^11 + B^2*a^2*b^9 + A^2*b^2*(-(4*a*c - b^2)^9)^(1/2) + B^2*a^2*(-(4*a*c - b^2)^9)^(1/2) +
2*A*B*a*b^10 + 288*A^2*a^2*b^7*c^2 - 1504*A^2*a^3*b^5*c^3 + 3840*A^2*a^4*b^3*c^4 - 96*B^2*a^4*b^5*c^2 + 512*B
^2*a^5*b^3*c^3 + 3072*A*B*a^6*c^5 - 27*A^2*a*b^9*c - 9*A^2*a*c*(-(4*a*c - b^2)^9)^(1/2) - 3840*A^2*a^5*b*c^5 -
768*B^2*a^6*b*c^4 + 192*A*B*a^3*b^6*c^2 - 128*A*B*a^4*b^4*c^3 - 1536*A*B*a^5*b^2*c^4 + 2*A*B*a*b*(-(4*a*c - b
^2)^9)^(1/2) - 36*A*B*a^2*b^8*c)/(32*(a^3*b^12 + 4096*a^9*c^6 - 24*a^4*b^10*c + 240*a^5*b^8*c^2 - 1280*a^6*b^6
*c^3 + 3840*a^7*b^4*c^4 - 6144*a^8*b^2*c^5)))^(1/2)*(1024*a^5*b*c^5 - 16*a^2*b^7*c^2 + 192*a^3*b^5*c^3 - 768*a
^4*b^3*c^4))/(2*(a^2*b^4 + 16*a^4*c^2 - 8*a^3*b^2*c)))*(-(A^2*b^11 + B^2*a^2*b^9 + A^2*b^2*(-(4*a*c - b^2)^9)^
(1/2) + B^2*a^2*(-(4*a*c - b^2)^9)^(1/2) + 2*A*B*a*b^10 + 288*A^2*a^2*b^7*c^2 - 1504*A^2*a^3*b^5*c^3 + 3840*A^
2*a^4*b^3*c^4 - 96*B^2*a^4*b^5*c^2 + 512*B^2*a^5*b^3*c^3 + 3072*A*B*a^6*c^5 - 27*A^2*a*b^9*c - 9*A^2*a*c*(-(4*
a*c - b^2)^9)^(1/2) - 3840*A^2*a^5*b*c^5 - 768*B^2*a^6*b*c^4 + 192*A*B*a^3*b^6*c^2 - 128*A*B*a^4*b^4*c^3 - 153
6*A*B*a^5*b^2*c^4 + 2*A*B*a*b*(-(4*a*c - b^2)^9)^(1/2) - 36*A*B*a^2*b^8*c)/(32*(a^3*b^12 + 4096*a^9*c^6 - 24*a
^4*b^10*c + 240*a^5*b^8*c^2 - 1280*a^6*b^6*c^3 + 3840*a^7*b^4*c^4 - 6144*a^8*b^2*c^5)))^(1/2) - (x*(72*A^2*a^2
*c^5 + A^2*b^4*c^3 - 8*B^2*a^3*c^4 + 10*B^2*a^2*b^2*c^3 - 14*A^2*a*b^2*c^4 + 2*A*B*a*b^3*c^3 - 40*A*B*a^2*b*c^
4))/(2*(a^2*b^4 + 16*a^4*c^2 - 8*a^3*b^2*c)))*(-(A^2*b^11 + B^2*a^2*b^9 + A^2*b^2*(-(4*a*c - b^2)^9)^(1/2) + B
^2*a^2*(-(4*a*c - b^2)^9)^(1/2) + 2*A*B*a*b^10 + 288*A^2*a^2*b^7*c^2 - 1504*A^2*a^3*b^5*c^3 + 3840*A^2*a^4*b^3
*c^4 - 96*B^2*a^4*b^5*c^2 + 512*B^2*a^5*b^3*c^3 + 3072*A*B*a^6*c^5 - 27*A^2*a*b^9*c - 9*A^2*a*c*(-(4*a*c - b^2
)^9)^(1/2) - 3840*A^2*a^5*b*c^5 - 768*B^2*a^6*b*c^4 + 192*A*B*a^3*b^6*c^2 - 128*A*B*a^4*b^4*c^3 - 1536*A*B*a^5
*b^2*c^4 + 2*A*B*a*b*(-(4*a*c - b^2)^9)^(1/2) - 36*A*B*a^2*b^8*c)/(32*(a^3*b^12 + 4096*a^9*c^6 - 24*a^4*b^10*c
+ 240*a^5*b^8*c^2 - 1280*a^6*b^6*c^3 + 3840*a^7*b^4*c^4 - 6144*a^8*b^2*c^5)))^(1/2)*1i)/((((6144*A*a^5*c^6 +
16*A*a*b^8*c^2 - 1024*B*a^5*b*c^5 - 288*A*a^2*b^6*c^3 + 1920*A*a^3*b^4*c^4 - 5632*A*a^4*b^2*c^5 + 16*B*a^2*b^7
*c^2 - 192*B*a^3*b^5*c^3 + 768*B*a^4*b^3*c^4)/(8*(a^2*b^6 - 64*a^5*c^3 - 12*a^3*b^4*c + 48*a^4*b^2*c^2)) - (x*
(-(A^2*b^11 + B^2*a^2*b^9 + A^2*b^2*(-(4*a*c - b^2)^9)^(1/2) + B^2*a^2*(-(4*a*c - b^2)^9)^(1/2) + 2*A*B*a*b^10
+ 288*A^2*a^2*b^7*c^2 - 1504*A^2*a^3*b^5*c^3 +...
________________________________________________________________________________________